package com.eqxiu.ieditor.weixin.dao;


import com.eqxiu.ieditor.weixin.model.BottomMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BottomMenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BottomMenu record);

    int insertSelective(BottomMenu record);

    BottomMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BottomMenu record);

    int updateByPrimaryKey(BottomMenu record);

    int updateStatusByUpperId(BottomMenu record);

    int mutiMenuListCount(BottomMenu record);

    List<BottomMenu> findMenuList(BottomMenu record);

    List<BottomMenu> getMenuByName(@Param("menuName") String menuName);

    int deleteAll();
}